package com.gigi.mapper.manual;

import com.gigi.model.JoinCourseDO;
import com.gigi.model.SignInDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface SignInManualMapper {

    SignInDO getForTeacher(@Param("userId") Long userId);

    SignInDO getForStudent(@Param("userId") Long userId);

    SignInDO getSignInInfo(@Param("signInId") Long signInId);

    List<SignInDO> extraList(@Param("userId") Long userId, @Param("earliestEndTime") LocalDateTime earliestEndTime);

}
